package com.itwenke.springbootdemo.shirowebssm.mapper;

import com.itwenke.springbootdemo.shirowebssm.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select * from `user` where username = #{username}")
    User findUserByUsername(@Param("username")String username);

}
